﻿/////////////////////////////////////////////////////////////////
//File: CommentInfo.cs
//Description: 
//Copyright© 2011 Moliu
//History:
//  2011-3-30 23:55:12    CodeSmith5.0.1    Original Version
/////////////////////////////////////////////////////////////////
using System;
using System.Collections;
using MAF.Common;

namespace My.Blog
{
    /// <summary>
    /// Business entity used to model Comment
    /// </summary>
    [Serializable]
    public partial class Comment : BaseEntity
    {
        #region Properties
 
        ///<summary>
        /// BlogId
        ///</summary>
        public int BlogId { get; set; }

        ///<summary>
        /// CategoryId
        ///</summary>
        public int CategoryId { get; set; }
        
        ///<summary>
        /// ArticleId
        ///</summary>
        public int ArticleId { get; set; }
        
 
        ///<summary>
        /// Content
        ///</summary>
        public string Content { get; set; }
        
        ///<summary>
        /// Author
        ///</summary>
        public string Author{get;set;}

        #endregion

        #region Mehtods

        /// <summary>
        /// 获取所属文章
        /// </summary>
        /// <returns></returns>
        public Article GetArticle()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}